﻿using System;

namespace IOP.Orleans.TokenStorage
{
    /// <summary>
    /// 存储令牌实体
    /// </summary>
    public class TokenStorage
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Key { get; set; }
        /// <summary>
        /// 令牌状态
        /// </summary>
        public TokenState State { get; set; }
        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime ExpireTime { get; set; }
        /// <summary>
        /// 令牌
        /// </summary>
        public string Token { get; set; }
    }
}
